package com.lidong.day02;

public class MethodDemo02 {
    public static int findMax(int a, int b) {
        return a > b ? a : b;
    }


    public static void main(String[] args) {
        int max = findMax(24,789);
        System.out.println(max);
    }
}
